package se.sll.service.catalogue.common.rest.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 *
 * @author Jiri Uosukainen
 */
@SuppressWarnings("PMD.UnusedPrivateField")
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@EqualsAndHashCode(exclude = {"codes"})
@JsonIgnoreProperties
public class Product implements Serializable{    
    private String status; //TODO Enum
    private String name;
    private String displayName;
    private String description;
    private Date creationTime;
    private Date updateTime;
    private String updatedByHsaid;
    private List<CodeSystemCode> codes;
}
